package com.zhiyin.seal.service;

import com.zhiyin.seal.entity.bo.ElectronicFenceBo;
import com.zhiyin.seal.entity.bo.ElectronicFenceDetailBo;

import java.util.List;

/**
 * 电子围栏服务
 */
public interface ElectronicFenceService {

    Long addElectronicFence(ElectronicFenceBo electronicFenceBo);

    Boolean addElectronicFenceDetail(Long elecId,List<Long> sealIds);

    ElectronicFenceBo getElectronicFenceById(Long electronicFenceId);

    List<ElectronicFenceBo> getElectronicFenceList(Long companyId);

    List<ElectronicFenceBo> getElectronicFenceListBySeal(Long sealId);

    List<ElectronicFenceDetailBo> getElectronicFenceDetail(Long electronicFenceId);

    Boolean removeElectronicFenceBySealId(Long sealId);

    Boolean removeElectronicFenceById(Long electronicFenceId);
}
